#pragma once
#include "Neuron.h"
#include "IllegalArgumentException.h"
class NeuronTrainerGHA
{
private:
	float _lerningRate;
public:
	NeuronTrainerGHA(float learnignRate)throw(IllegalArgumentException);
	std::vector<std::vector<float>> calculateWeights(std::vector<Neuron *> neuronsList, std::vector<float> values);
	std::vector<float> getWeights(int iputIndex, int neuronIndex);
	~NeuronTrainerGHA(void);
protected:
	float calculateSummary(std::vector<Neuron *> neuronsList,int i, int j);
};

